import req from '@/utils/request';

//用户管理
//用户列表
export const userList = (params) => req.post('/user/list', params);

//vip用户列表
export const vipuserList = (params) => req.post('/vipuser/list', params);

//vip流水日志
export const logsGetVipLogList = (params) => req.post('/logs/getVipLogList', params);

//添加VIP
export const vipuserAdd = (params) => req.post('/vipuser/add', params);

//用户列表封禁/解封
export const userBan = (params) => req.post('/user/ban', params);

//用户邀请码
export const userCode = (params) => req.post('/user/code', params);

//VIP用户列表封禁/解封
export const userVipBan = (params) => req.post('/vipuser/vipban', params);

//认证解绑
export const userUnbundling = (params) => req.post('/user/unbundling', params);

//用户详情
export const userUserDetail = (params) => req.post('/user/userDetail', params);

//通话详情
export const callDetailLog = (params) => req.post('/call/detailLog', params);

//金币流水
export const walletlogCoinLog = (params) => req.post('/walletlog/coinLog', params);

//宝石流水
export const walletlogDiamondLog = (params) => req.post('/walletlog/diamondLog', params);

//代理信息邀请码绑定
export const BindCodeBind = (params) => req.post('/BindCode/bind', params);
//注销账号
export const userCancel = (params) => req.post('/user/cancel', params);


//用户充值榜
export const userRechargeList = (params) => req.post('/user/rechargeList', params);
//用户收入榜
export const userWithdrawal = (params) => req.post('/user/withdrawal', params);
//用户拉新榜
export const userProreword = (params) => req.post('/user/proreword', params);

//修改用户信誉值
export const userEditCredit = (params) => req.post('/user/editCredit', params);

//用户业务详情
export const userBusinessDetails = (params) => req.post('/user/businessDetails', params);

//用户业务达标标记
export const userBusinessIsFinish = (params) => req.post('/user/businessIsFinish', params);

//用户头像删除
export const userDelHeadimgOrName = (params) => req.post('/user/delHeadimgOrName', params);

//解绑第三方
export const userThirdAccountUnbinding = (params) => req.post('/user/thirdAccountUnbinding', params);

//清空宝石
export const userClearDiamond = (params) => req.post('/user/clearDiamond', params);

//用户身份变更
export const userChangeIdentity = (params) => req.post('/user/changeIdentity', params);

//用户列表推荐
export const userRecommended = (params) => req.post('/user/recommended', params);

//用户发布预约
export const adminEngageEngageList = (params) => req.post('/adminEngage/engageList', params);

//删除预约
export const adminEngageDelEngage = (params) => req.post('/adminEngage/delEngage', params);

//用户私密相册
export const userPrivatePhoto = (params) => req.post('/user/privatePhoto', params);

//删除私密相册
export const userPrivatePhotoDel = (params) => req.post('/user/privatePhotoDel', params);

//用户审核参考
export const userVerifyReference = (params) => req.post('/user/verifyReference', params);

//用户交易记录
export const userBusinessRecord = (params) => req.post('/user/businessRecord', params);

//用户详情变更标签
export const userChangeLable = (params) => req.post('/user/changeLable', params);

//用户绑定小号
export const AdminRobotUserBindRobot = (params) => req.post('/AdminRobot/userBindRobot', params);

//用户绑定小号列表
export const AdminRobotUserBindRobotList = (params) => req.post('/AdminRobot/userBindRobotList', params);

//用户解绑小号
export const AdminRobotUserUnBindRobot = (params) => req.post('/AdminRobot/userUnBindRobot', params);


//用户代理详情列表
export const userPull_api = (params) => req.post('/user/userOnePullNew', params);

// 平台赠送扣除记录
export const userDel_api = (params) => req.post('/adminSystemGive/userSystemGiveList', params);